import request from '@/utils/request'

// 查询园区待放行列表列表
export function listParkReleaseOrders(query) {
  return request({
    url: '/park/parkReleaseOrders/list',
    method: 'get',
    params: query
  })
}

// 查询园区待放行列表详细
export function getParkReleaseOrders(id) {
  return request({
    url: '/park/parkReleaseOrders/getInfo/' + id,
    method: 'get'
  })
}

// 新增园区待放行列表
export function addParkReleaseOrders(data) {
  return request({
    url: '/park/parkReleaseOrders/add',
    method: 'post',
    data: data
  })
}

// 修改园区待放行列表
export function updateParkReleaseOrders(data) {
  return request({
    url: '/park/parkReleaseOrders/edit',
    method: 'post',
    data: data
  })
}

// 删除园区待放行列表
export function delParkReleaseOrders(id) {
  return request({
    url: '/park/parkReleaseOrders/remove/' + id,
    method: 'get'
  })
}

// 导出园区待放行列表
export function exportParkReleaseOrders(query) {
  return request({
    url: '/park/parkReleaseOrders/export',
    method: 'get',
    params: query
  })
}